home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / wedl20.zip / READ.ME < prev    next >
Text File  |  1992-07-22  |  3KB  |  100 lines

  1.  
  2.                          +----------------------+
  3.                          |  WEDL Release Notes  |
  4.                          +----------------------+
  5.  
  6. 2.02 - July 22, 1992
  7. --------------------
  8.  
  9.     *   Fixed bug that caused WEDL to require the SHELL.DLL library in order
  10.         to run on Windows 3.0 systems.
  11.  
  12.     *   A default error message will be displayed if an error was not
  13.         handled by the external (programmer-written) error handler.
  14.  
  15.  
  16. 2.01 - June 30, 1992
  17. --------------------
  18.  
  19.     *   Improved display speed.
  20.  
  21.     *   Fixed numeric field bug.
  22.  
  23.     *   New form feature - FMF_COMPAT.  Windows compatibility feature. If a
  24.         newer version of Windows comes out, this feature may need to be
  25.         specified for compatibility.
  26.  
  27.  
  28. 2.00 - May 1, 1992
  29. ------------------
  30.  
  31.     *   Windows 3.1 compatibility.
  32.  
  33.     *   Improved field validation capabilities.
  34.  
  35.     *   Ability to handle internal WEDL errors (eg. Field Cannot Be Blank).
  36.  
  37.     *   Expanded context-sensitive help.  Forms can now have a default help
  38.         context for controls without an individual help context.
  39.  
  40.     *   Support for drag and drop.  Fields can accept drag and drop file
  41.         names from File Manager.  (On systems with Windows 3.1+ only)
  42.  
  43.     *   Enable-links.  Provide for automatic enabling/disabling of controls
  44.         based upon the condition of a field or button.
  45.  
  46.     *   Improved numeric data entry.
  47.  
  48.     *   3-Level Undo in fields.
  49.  
  50.     *   Ability to select text within a field.
  51.  
  52.     *   Improved clipboard support.
  53.  
  54.     *   Improved international support.
  55.  
  56.     *   Turbo Pascal for Windows support.
  57.  
  58.     *   Support for Borland's BWCC.DLL custom control library.
  59.  
  60.  
  61. Using WEDL with C++ and OWL:
  62. ----------------------------
  63.  
  64.     Create a derived class from OWL's TDialog class:
  65.  
  66.         class TMyDialog : public TDialog {
  67.             public:
  68.                 .....
  69.             private:
  70.                 HFORM hform;    // WEDL's form handle
  71.         }
  72.  
  73.     Define the form during the TMyDialog::SetupWindow virtual function:
  74.  
  75.         void TMyDialog::SetupWindow()
  76.         {
  77.             TDialog::SetupWindow();   // initialize base class
  78.             hform = form_begin( HWindow, ... );
  79.             // do all WEDL definitions (field_define, button_define, etc.)
  80.             form_end( hform );
  81.         }
  82.  
  83.     Save the form during the TMyDialog::CanClose virtual function:
  84.  
  85.         BOOL TMyDialog::CanClose()
  86.         {
  87.             if( form_validate( hform ) != NULL ) return( FALSE );
  88.             form_save( hform );
  89.             return( TRUE );
  90.         }
  91.  
  92.     Terminate the form during the TMyDialog::Destroy virtual function:
  93.  
  94.         void TMyDialog::Destroy( int return_value )
  95.         {
  96.             form_cancel( hform );
  97.             TDialog::Destroy( return_value );
  98.         }
  99.  
  100.